<%@ page import="com.surelution.cppei.weixin.gate.SubAccount" %>



<div class="fieldcontain ${hasErrors(bean: subAccountInstance, field: 'appID', 'error')} ">
	<label for="appID">
		<g:message code="subAccount.appID.label" default="App ID" />
		
	</label>
	<g:textField name="appID" value="${subAccountInstance?.appID}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: subAccountInstance, field: 'appsecret', 'error')} ">
	<label for="appsecret">
		<g:message code="subAccount.appsecret.label" default="Appsecret" />
		
	</label>
	<g:textField name="appsecret" value="${subAccountInstance?.appsecret}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: subAccountInstance, field: 'enabled', 'error')} ">
	<label for="enabled">
		<g:message code="subAccount.enabled.label" default="Enabled" />
		
	</label>
	<g:checkBox name="enabled" value="${subAccountInstance?.enabled}" />
</div>

<div class="fieldcontain ${hasErrors(bean: subAccountInstance, field: 'homePageUrl', 'error')} ">
	<label for="homePageUrl">
		<g:message code="subAccount.homePageUrl.label" default="Home Page Url" />
		
	</label>
	<g:textField name="homePageUrl" value="${subAccountInstance?.homePageUrl}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: subAccountInstance, field: 'hostUrl', 'error')} ">
	<label for="hostUrl">
		<g:message code="subAccount.hostUrl.label" default="Host Url" />
		
	</label>
	<g:textField name="hostUrl" value="${subAccountInstance?.hostUrl}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: subAccountInstance, field: 'name', 'error')} ">
	<label for="name">
		<g:message code="subAccount.name.label" default="Name" />
		
	</label>
	<g:textField name="name" value="${subAccountInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: subAccountInstance, field: 'token', 'error')} ">
	<label for="token">
		<g:message code="subAccount.token.label" default="Token" />
		
	</label>
	<g:textField name="token" value="${subAccountInstance?.token}"/>
</div>

